package com.yourwork.dao;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.yourwork.model.Spending;

public interface SpendingDao {
	//查询消费记录总数
	public int countExpense();
	//分页查询消费记录
	public Page<Spending> queryExpense(Pageable pageable);
	//添加支出记录
	public void inserExpense(Spending expense);
	//查询总的支出
	public double querySumMoney();

}
